package exceptions.semantic;

import exceptions.semantic.SemanticException;

public class ConditionWhileException extends SemanticException {

	private int linea;
		 

    public ConditionWhileException(int l){
	
		linea = l;
	
	}

	public String getMessage(){	
		return ("ConditionWhileException: Error Semantico! Detalle: La sentencia while no es correctamente tipada, la condicion debe ser de tipo boolean. - Linea: "+linea);
	}

	
}